package com.stone.serverless.event.domain;

import lombok.Getter;
import lombok.Setter;

import java.lang.reflect.Method;

/**
 * @Description: TODO
 * @Author: MECHREVO
 * @Date: 2022/2/7 10:41
 * @Version: 1.0.0
 */
@Getter
@Setter
public class EventListenerObject {

    public String key;

    public Object method;

    public Object object;

    public EventListenerObject(String key, Object method, Object object) {
        this.key = key;
        this.method = method;
        this.object = object;
    }

    public EventListenerObject(String key, Object method) {
        this.key = key;
        this.method = method;
    }
}
